public class Test {
    public static void main(String[] args) {
        Display minute=new Display(0,58);
        Display hour = new Display(0,23);
        Display second = new Display(0,58);
        Clock clock = new Clock(hour,minute,second);
        clock.start();
    }

}
